#! /usr/bin/env python
# -*- coding: utf-8 -*-

# Copyright (c) JoinQuant Development Team
# Author: Huayong Kuang <kuanghuayong@joinquant.com>

for x in [5, 3 ,2]:
    if x == 2:
        print('break')
        break
    print(x)
else:
    print('in else')


def test():
    for x in range(10):
        if x == 3:
            print(x)
            #return x
    else:
        print('in else')


test()
